/*coding with OnesPro*/

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Keeps the logo at the left */
    background: transparent;
    padding: 30px 14%;
    transition: all .50s ease;
}

/* Navigation */
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
}

nav ul li a:hover {
    border-bottom: 2px solid #fff;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* FAQs & Support Page Styles */
.faq-intro {
    padding: 40px;
    background-color: #fff;
    text-align: center;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

.faq-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.faq-intro p {
    font-size: 1.1rem;
    color: #555;
}

.faq-list {
    padding: 40px 20px;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f7f7f7;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.8rem;
    color: #333;
}

.faq-item p {
    font-size: 1rem;
    color: #666;
}

.faq-item a {
    color: #007BFF;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Support Contact */
.support-contact {
    background-color: #f9f9f9;
    padding: 40px;
    text-align: center;
    width: 100%;
}

.support-contact h2 {
    font-size: 2rem;
    color: #333;
}

.support-contact ul {
    list-style-type: none;
    padding: 0;
}

.support-contact ul li {
    font-size: 1.1rem;
    margin: 10px 0;
}

.support-contact a {
    color: #007BFF;
    text-decoration: none;
}

.support-contact a:hover {
    text-decoration: underline;
}

/* FAQ Feedback */
.faq-feedback {
    background-color: #fff;
    padding: 40px;
    text-align: center;
    border-top: 1px solid #ddd;
    width: 100%;
}

.faq-feedback h3 {
    font-size: 1.8rem;
    color: #333;
}

.faq-feedback p {
    font-size: 1.1rem;
    color: #555;
}

.faq-feedback a {
    color: #007BFF;
    text-decoration: none;
}

.faq-feedback a:hover {
    text-decoration: underline;
}
/* Ensure content is not hidden under the fixed footer */
body {
    padding-bottom: 80px; /* Ensure enough space for the fixed footer */
    margin: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensure centering */
}

/* Footer Fix */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
}

/* Ensure sections have enough space */
main {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 600px) {
    /* Ensure body has enough padding */
    body {
        padding-bottom: 100px; /* Extra space for footer */
    }

    /* Center main sections */
    .faq-intro, .support-contact, .faq-feedback {
        text-align: center;
        padding: 30px 15px;
        width: 90%; /* Ensure it fits within screen */
        margin: 0 auto; /* Centering */
    }

    /* Ensure FAQ items are centered */
    .faq-list {
        padding: 20px;
        width: 90%;
        margin: 0 auto;
    }

    .faq-item {
        padding: 15px;
        text-align: center;
        width: 100%; /* Ensure full width */
    }

    /* Centering the navigation */
    nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    /* Adjust header layout */
    header {
        width: 100%;
        padding: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

   
}
